package com.example.demo.domain;

import java.sql.Timestamp;

/**
 * 评论
 */
public class Comment {
	private Long cid;
	private Long aid;
	private Integer uid;
	private String content;
	private Timestamp time;
	/**
	 * 回复的评论ID
	 */
	private Long lastCid = (long) -1;
	public Long getCid() {
		return cid;
	}
	@Override
	public String toString() {
		return "Comment [cid=" + cid + ", aid=" + aid + ", uid=" + uid + ", content=" + content + ", time=" + time
				+ ", lastCid=" + lastCid + "]";
	}
	public void setCid(Long cid) {
		this.cid = cid;
	}
	public Long getAid() {
		return aid;
	}
	public void setAid(Long aid) {
		this.aid = aid;
	}
	public Integer getUid() {
		return uid;
	}
	public void setUid(Integer uid) {
		this.uid = uid;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Timestamp getTime() {
		return time;
	}
	public void setTime(Timestamp time) {
		this.time = time;
	}
	public Long getLastCid() {
		return lastCid;
	}
	public void setLastCid(Long lastCid) {
		this.lastCid = lastCid;
	}
	
}
